package com.ndp.fb.rdb.db.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.ndp.fb.rdb.api.BusinessAccountRdbService;
import com.ndp.fb.rdb.db.DaoTemplate;
import com.ndp.fb.rdb.db.impl.mapper.DefaultRowMapper;
import com.ndp.fb.rdb.model.BusinessAccounts;

import java.util.List;


/**
 * Created by Evan on 2015/3/5 14:33.
 */
@Service
public class BusinessAccountRdbServiceImpl extends DaoTemplate implements BusinessAccountRdbService
{
    @Override
    public List<BusinessAccounts> findAll() {
        return findAll(DefaultRowMapper.autoRowMapper(BusinessAccounts.class));
    }
}
